import Vue from 'vue'
import Router from 'vue-router'
import home from '@/pages/home'
import autotrophy from '@/pages/autotrophy' //自营商城
import financial from '@/pages/financial' //塑云金融
import customer from '@/pages/customer'    // 客户资源
import technician from '@/pages/technician'    // 技术专家
import information from '@/pages/information'    // 资讯中心
import auction from '@/pages/auction'    // 竞价专区
import properties from '@/pages/properties'    // 物性库


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/home',
      name: 'home',
      component: home
     },
     {
      path: '/autotrophy',
      name: 'autotrophy',
      component: autotrophy
     },
    {
      path: '/financial',
      name: 'financial',
      component: financial
    },
    {
      path: '/customer',
      name: 'customer',
      component: customer
    },
    {
      path: '/technician',
      name: 'technician',
      component: technician
    },

    {
      path: '/information',
      name: 'information',
      component: information
    },

    {
      path: '/auction',
      name: 'auction',
      component: auction
    },
    {
      path: '/properties',
      name: 'properties',
      component: properties
    }


  ]
})
